package com.xuzz.study.redis.client;


import java.io.UnsupportedEncodingException;

/**
 * @author xuzz
 * @description
 * @date 2019-12-26 19:58
 */
public class SafeEncoder {
    public static byte[] encode(String str) throws UnsupportedEncodingException {

            return str.getBytes("UTF-8");

    }
}